﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace BlogWeb.Models
{
    public class BlogView
    {
        [DisplayName("博客标题")]
        [Required]
        public string Title { get; set; }
        [DisplayName("图片标题")]
        [Required]
        public string PicTitle { get; set; }
        [Required]
        [DisplayName("博客内容")]
        public string Content { get; set; }
    }
}